<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta name="Description" content="Pabmab Technolgies, a contract research organization for life science, pharmaceutical industry" />
	<meta name="Generator" content="Pabmab Technolgies, based on Yiiframework" />
	<meta name="Author" content="Pabmab Technolgies" />
	<meta name="Copyright" content="2007-2011 Pabmab Technolgies Inc." />
</head>

<body>

<div class="container" id="page">

	<div id="header">
        <div id="logo"><?php echo CHtml::encode(Yii::app()->name) . "管理后台"; ?></div>	</div><!-- header -->

	<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(         
                array('label'=>'后台首页', 'url'=>array('/admin/default/index')),
                array('label'=>'分类', 'url'=>array('/admin/category/admin')),
                array('label'=>'文章信息', 'url'=>array('/admin/articles/index')),
                array('label'=>'页面', 'url'=>array('/admin/pages/index')),
                array('label'=>'抗体', 'url'=>array('/admin/antibody/index')),
                array('label'=>'项目', 'url'=>array('/admin/projects/index')),
                array('label'=>'客户信息', 'url'=>array('/admin/customers/index')),
                array('label'=>'用户', 'url'=>array('/admin/users/index')),
                array('label'=>'系统', 'url'=>array('/admin/System/index',)),
				array('label'=>'退出 ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 
				      'visible'=>!Yii::app()->user->isGuest),
			    array('label'=>'预览前台', 'url'=>array('/site')))
		)); ?>
	</div><!-- mainmenu -->

	<?php $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->breadcrumbs,
	)); ?><!-- breadcrumbs -->

	<?php echo $content; ?>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?>. Contact: <?php echo Yii::app()->params['adminEmail'];?><br/>
		<a href="http://localhost/phpmyadmin/">phpMyadmin</a>  <a href="/?r=gii">Gii</a>  <a href="/?r=admin">Admin</a>

	</div><!-- footer -->

</div><!-- page -->

</body>
</html>